using System;
using System.Collections.Generic;
using System.Text;

namespace MPlayer
{
    public static class MPlayerCommands
    {
        public const string GetDuration = "get_time_length";

        public const string GetPosition = "get_time_pos";
        public const string SetPosition = "seek {0} 2";

        public const string GetVideoResolution = "get_video_resolution";

        public const string GetFullScreen = "get_vo_fullscreen";
        public const string ToggleFullScreen = "vo_fullscreen";

        public const string SetVideoLeft = "change_rectangle 2 {0}";
        public const string SetVideoTop = "change_rectangle 3 {0}";
        public const string SetVideoWidth = "change_rectangle 0 {0}";
        public const string SetVideoHeight = "change_rectangle 1 {0}";

        public const string Stop = "quit";
        public const string PlayPause = "pause";
    }

    public static class MPlayerAnswers
    {
        public const string Duration = "ANS_LENGTH";
        public const string Position = "ANS_TIME_POSITION";
        public const string VideoResolution = "ANS_VIDEO_RESOLUTION";
        public const string FullScreen = "ANS_VO_FULLSCREEN";
    }
}
